package Excepton;
//自定义异常
public class UsernameException extends AccountException{

    //错误状态码，用来定义不同错误情况
    public UsernameException(){
        this(530,"用户账号输入不规范");
    }
    public UsernameException(String msg){
        this(530,msg);
    }
    public UsernameException(Integer code,String msg){
        super(code, msg);
    }
}